package com.zhaojk.audio.util;

import java.io.FileOutputStream;
import java.io.IOException;

public class FileUtils {
    public static void writeByteArrayToFile(byte[] audioData, String filePath) throws IOException {
        try (FileOutputStream fos = new FileOutputStream(filePath)) {
            fos.write(audioData);
        }
    }

    public static void writeStringToFile(String data, String filePath) throws IOException {

    }
}
